﻿using System;

namespace YJKInspectModel.ModelValidation.ClearHeightCheck
{
	public class ObjectTypeItem
	{
		public ObjectTypeItem(string sName)
		{
			this.m_sName = sName;
		}

		public ObjectTypeItem(string sName, bool isSelected)
		{
			this.m_Selected = isSelected;
			this.m_sName = sName;
		}

		public string getTypeName()
		{
			return this.m_sName;
		}

		public bool Selected
		{
			get
			{
				return this.m_Selected;
			}
		}

		public void SetSelected(bool selected)
		{
			this.m_Selected = selected;
		}

		private string m_sName;

		private bool m_Selected = true;
	}
}
